package cn.kgc.service;

import cn.kgc.pojo.SmbmsBill;


import java.util.List;

public interface BillService {
    int getBillConut(String productName, Integer isPayment);

    List<SmbmsBill> getBillByPage(Integer pageNo,
                              Integer pageSize,
                              String productName,
                              Integer isPayment);

    boolean addBill(SmbmsBill smbmsBill);

    boolean updateBill(SmbmsBill smbmsBill);

    boolean delBillId(Integer id);

    SmbmsBill getBillId(Integer id);

    SmbmsBill getBillCode(String billCode);
}
